serialise title so we can actually roundtrip sensibly