add control over response pretty printing