Keys sort into json object