simplify the json