ObjectId decoding
activity import bugfixes