Convert the results from jQuery's serializeArray to an object.