Refactor places serializer