Edit recaptcha.module, #3503751 adding json data fetching as a fallback based on the request content type.
Closes #3503751