Add Serialization function

Adding serialization functionality per https://docs.djangoproject.com/en/dev/howto/custom-model-fields/#converting-field-data-for-serialization