Added filterArrayByKeyListRecursive for models
Changeв toArray for entities