fix encoding of ChildRef ids