Thanks .. This will work for now.
Please if it is possible to be able to save from identify.py, this will be really helpful. I just need to be able to save this sample data:
Code:
ans.set_user_metadata("#genre", {'#value#': ['Ebooks.Language.Java','Ebooks.Language.Python'], 'datatype':'text',
'is_multiple': '|', 'name': u'Genre'});