Fixes for new models in serialization
Merge pull request #10 from dimagi/serialization_fixes

Fixes for new models in serialization