getKeys return list instead of dict