fix toArray return object with DateTime object
fix redis adapter namespace