As you have everything in metafield. You might try to create a list of maps, where metafield.meta is the key.and value is another map object which contains your attributes.Something like below roughly.Map<String,String> attributes = new HashMap<>();map.put("property1","value1");map.put("property2","...