I am not able to get it working seamlessly with the custom Serializer that i have written, could either you share the Custom serializer for ObjectId