Use toArray for API
 Use toArray for assertion
Introduce special toArrayApi
Add data api
Add data api docu