Python dictionary with attribute-style access