Trying to hack around the way Go does XML and JSON marshalling.