The AnyObject entity is part of the domain model of the RestServices AppStore module.
If you use that appstore module, you can see the entity in the domain module. When you double-click it, you see its documentation:
"This class exists because java api has no support for List<Any Object>.
So just inherit your object from this object, to make it passable to an Any Object list."