use array() instead of ArrayObject as return value of some method