add some codec json-like parsing options