'Adds attributes to root, but first we put it in a temp store and bind it with root when .toJson is called'

def addAttributesToRoot(self, attrDict):

    for (key, value) in attrDict.items():
        self.rootAttr[key] = value
