better json formatting