Are you sure this is needed? There is already a DateTime Serializer and Deserializer added in the com.podio.serialize, and it is registered in the ResourceFactory. In any case, it doesn't belong here at a very specific level.