Implemented type to serializer mapper.