Add command-line parsing of JSON and globbing