support :pretty => true

support generate json in pretty format, see #1