Return object

Use of return object that can be build from core or index objects.
no more to_api methods