Declared model2dict method in translator