change 'convert2Json.py" in order to support accepting parameters from console