adding getPath for nested records