I was hoping there would be a quick answer, very specifically using the JSOHelper and within the SmartGWT datasource. After some thought ... I realized that the Object being brought back from the RESTful webv-service has been interated through once and created the JSON.
Within the RESTful web-service, you could have an ArrayList with hundreds if not thousands of records. To iterate through all this within a SmartGWT datasource, using JSOHelper doesn't seem very efficient.
I was thinking ... how can I change this on the back-end without affecting the back-end. In other emails, it talked about building a custom serializer/deserializer for helping to convert your object to JSON.
Then I found the @JSonProperty from the XML Jackson mapper. This is within our project which features our entities and dao. We had previously added the latest Jackson 2 Fast Mapper to this project on the back-end. So, on the entity class, we can have:
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@JsonProperty("sommeOtherId")
private long id;
Then I don't have to do anything in the SmartGWT Datasource, the JSON comes down exactly as I want it, with the names of the fields exactly as I want.
I hope this helps someone else.