this comment is a bit misleading, this method doesn't actually implement the `json.Marshaler` interface