support key not only string rex but rex obj