add a command for json formatting