Gets nested object from a csv file