added _toJSON: (obj)