celery task should return json serializeable thing

The calendar template needed a datatime object.
Tried to return a datetime object inside a celery task resulted in a
TypeError '... is not JSON serializable'.
Merge branch 'master' into limitedviewsnoproject