Fix that Registry asArray() can't not handle objects recursively
Merge pull request #282 from asika32764/registry-asArray

Fix that Registry asArray() can not handle objects recursively