Added json mappings for polymorphic classes