ordering fields in json