I'm designing RESTful API. Result will be in form of JSON object. I don't need to send all fields from my POJO classes to the client, so I should define some kind of "contract".
Let's say I have a Property class, and I define id, name and address for it. Later, I might want to change address to geoData, without influencing clients.
Is there some elegant way (pattern) to do this?