mod_register_json: better cleanup is there's a DEA match.