Simplify json formatting