'Adds other misc attributes to json if they are present'

def addMiscToJson(self, jsonDict):

    if (not (self.events == '')):
        jsonDict['events'] = self.events
    if (self.bootstrap is not None):
        jsonDict['bootstrap'] = self.bootstrap
    return jsonDict
