Be more flexible with json command line arguments