Submit forms as json.