Meta-data output in JSON for procedures was not legal JSON.

There was already a test, but it's expected output was wrong, too.