json cleanup done