White balance mode configuration using dictionary