save the parameters in JSON without the action and the controller