whoops, extra toJSON method removed