replaced fieldData['foo]['reference']['table'] with a getter