output key value jsons from group script
sort field param