submit button and use .toJson on model.action.output