SCAL-321: Fixed little bugs in parse_json_if_string and use it in Simulation.input_specification