Make compatible with Tornado-JSON v0.10
Merge pull request #59 from hfaran/hfaran_tornadojson0.10

Make compatible with Tornado-JSON v0.10