avoid wrapping input stream in a reader when passing it to jackson for
efficiency where possible