Updated json generator file.
Updated generator to handle string parameters.