Would it be possible to remove __jsogObjectId just before returning result in decodeObject? delete result.__jsogObjectId;