Preserve IsJson when using transactions