converting keys to keywords