getProperty can retrieve nested properties