added fix for multiple single quotes on JSON parameter value