Extract linked resources to APIObject and use it everywhere