Converted params into string for JSON parse