def GET(self, influencer=consts.name):        
     """Return traits of requested influencer"""
     # @TODO -- add parameter to accept different traits
     try:
         parsed_corpus = utility.extract_traits(utility.extract_corpus(influencer), traits=[note.Note])  
         # duration can be any name becuase we are just checking for type
         web.header('Content-Type', 'application/json')
         return json.dumps({influencer : parsed_corpus})
     except Exception, e:
         print 'issue with influencer request. please try again!'
         raise e      
def traits():
    for i in utility.extract_traits(utility.extract_corpus(consts.name), traits=[note.Rest()]):
        print i