fixed URL template format for lookup by foreign key