recursive hash to json conversion

when putting a hash into the recaptcha_tags options then make proper json out of this hash.