Removing toJSON state