Bug 22071:Restlet Functions and Actions : convert function for cartoservices is throwing exception. 

Fixed the JSON parser exception for complex function parameters