Take into account 'is returned by REST services' field property
when translating objects to their REST form.
Refactor Util a bit.