fix set JSON parameter issue when param is only a simple string