Make it possible to check with commit ids the integrity of the parent graph. Add special handling for dictionary-merging.