object: fix .toJSON()
0.6.5