Remove array_keys() calk inside keys() and values()