Fix formatting and parsing endpoint UUIDs when retrieving and saving endpoints via the Go API.