Management Center communication changed to use JSON format.

also fixes #2488