Scope::toArray() is now responsible for adding data[]