Helper method to get a property recursively from a String.
Fix in method.