Optimized ObjectMapping slightly by only iterating over the objects once when mapping the related data to an object.
Moved error code check from Folder Extension to McmRepository with the other error code checks