Helper function(s) to convert dot notation to objects