get linked fields on template init for faster joins