added serializer (JSON), dorm error