Persisting Custom Task Metadata in MongoDB with Celery

How to create and maintain task metadata with Celery's MongoDB backend.