Bugfix for profile args
Print additional information on JSON parse error