* remove trailing commas * test cases added * Opt for immutable way in JsonEditor --------- Co-authored-by: Joshen Lim <joshenlimek@gmail.com>