4,156 questions
4,369 answers
5,718 comments
You just need to put that JSON string in single quotes, so it's passed as a single parameter:
multichain-cli chain1 sendtoaddress 17wNpqt9HRH8DfeRbM8yVjk3rKf42X2A6HGTcb '{"a1":8,"a2":16}'