mod_dump_json: cleanup code, remove unused import.