changed serializers for directory
(using embeddedRecordMixin from ember to deserialize embedded records)