Make fixObjectIds recursive
Add test for fixObjectIds
v0.6.1