libserialize: Code cleanup
libserialize: Prefer into_string() to to_string() wherever possible

Except for the example code!