Fix GPX serializer