use inputstream for jackson

it has better optimization when using inputstream instead of reader.
Thanks to @cowtowncoder for the tip.