title: pass a json string as an argument to Python script causes quotes problems
body: <p>I want to write a script that takes in a single argument, a string that contains some json data, and (for sake of simplicity) prints something.</p>
  
  <pre><code>import argparse
  import json
  
  parser = argparse.ArgumentParser(description='json load and print')
  parser.add_argument('-i','--inputstring', help='Input String in JSON format',required=True)
  args = parser.parse_args()
  
  inp = parser.parse_args()
  
  data = json.loads(inp)
  
  print(data['Employees'])
  </code></pre>
  
  <p>When I run this from command line I get an error because of the double quotes that I use to wrap the string ending up matching double quotes in the json:</p>
  
  <pre><code>python myscript.py -i "{ "Employees": "name name"}"
  Unrecognized arguments Employees...
  </code></pre>
  
  <p>If I switch the json double quotes to single quotes, the json parser will not work.</p>
  
  <p>How do I handle something like this?</p>