Updating format for JSON per Caridy's feedback

Instead of the pre-parsed internal format which is out of date and causes errors like `Error: Message pattern part at index 0 does not have a valid type` This updates the JSON format to the latest and fixes this example.