Add "parent" field to child nodes