update the sexp serialisation/deserialisation example to use the new
typeclass implementation