Added rudimentary Sexp conversion function