assign a unique objectId and use a memory stream