Fix spec test with arguments as hash and not as strings.
Fix spec test with arguments as hash and not as strings.
Convert the Arguments to a json string.

Add checking if argument is not set and reformat for empty object
as input for the json parser.
Convert the Arguments to a json string.

Add checking if argument is not set and reformat for empty object
as input for the json parser.