Refined the data being sent by Ajax and received by the controller.

The issue that was causing the server to reject the incoming form data
has been resolved.