Update declarative handler syntax

We need to distinguish literals from references. Yaml removes quotes from
strings, so we can't use those to distinguish literals. Instead, we decided to
prefix references with a dollar sign.