api bug: print <pre> in JSON data