using the resource_handler index information to map back to the original index, so the resolved_context contains the correct indexes