You use double quotes inside double quotes. I suspect that
""ha-params"" is meant to be "ha-params", too. So, either use
single outer quotes, e.g.
'{"ha-mode":"exactly", "ha-params":2, "ha-sync-mode":"automatic"}'
or escape the nested ones:
"{\"ha-mode\":\"exactly\", \"ha-params\":2, \"ha-sync-mode\":\"automatic\"}"
--
MK
Staff Software Engineer, Pivotal/RabbitMQ