code: func mustPrintJSON(jsonObject interface{}) {
  	str, err := json.MarshalIndent(jsonObject, "", "  ")
  	if err != nil {
  		utils.Fatalf("Failed to marshal JSON object: %v", err)
  	}
  	fmt.Println(string(str))
  }
docs: // mustPrintJSON prints the JSON encoding of the given object and
  // exits the program with an error message when the marshaling fails.