don't double encode JSON repsonse

by default json encoder does utf8 -> bytes conversion and this thing is optional, so check property and decide what to do.
Merge pull request #18 from ruz/master

don't double encode JSON repsonse