zhangyuan master refactor: std:map ruby hash convertor