To/from dictionary functions to support celery's JSON serializer
Merge branch 'feature/json_support' into DigiACTive's develop branch