use key instead of value
use key in Domain
Merge pull request #3018 from dimagi/all_forms_touchups

Use view key instead of value