group json objects by field instead of property but lost naming convention