Comparing different data formats with an Ext JS client and a Java/Spring back end