return is JSON format, read the parameter
rename parameters to match what the server expects