IndexAwareTableScan: first version - working but with improvable interface and no JSON compatibility