the serializer now uses the parent type instead of the key #issue 11