Submit form to JSON format.