* remove trailing commas * test cases added * Opt for immutable way in JsonEditor --------- Co-authored-by: Joshen Lim <[email protected]>