ticket:4 convert settings object to dict