access dictionary by key instead of getattr