mod_register_json: refactor decoding error log statement, and change level to warn.