Make compatible with Tornado-JSON v0.10