removed the unnecessary to_json on the params value