Fix simple syntax error in openxc-diag.
Use correct response type in controllers when waiting.