Modified getConfigKeys to return a better array