output responseJSON on submit