Allow to override GPX serialization