get and set properties using dot syntax strings