Support passing parameters as JSON