start sending JSON params in the API spec