Replace .txt renderer with JSON

Update tests expected results so that they now correctly look for the
return value returned from the JSON renderer.