output resource with pk only