Manipulate JSON strings from the command line