also set can add children to false for data references as they are meant
to be leaves, and not container objects/branches