Allow to pass quirks_mode option to json/json_pure adapters