adds resource as nested resource under list