places ENML to XML mimetype conversion in the wrong place, this should work for celery.