Making Backward-Compatible Schema Changes in MongoDB

How to add or remove a field from a Mongo collection without breaking the production?

Use Auto Value and Jackson in REST API

This post explains what is Google Auto Value and why it is the best alternative for Data Transfer Objects (DTO) in your web service. It shares how to apply Jackson annotations on top of Auto Value classes. There're also some advanced configurations about this topic.