Transform InnoDB Monitor output into JSON for use by Google Charts