let option_wrappers wrappers = {
to_raw = (function
| Some v -> wrappers.to_raw v
| None -> Raw.String "");
of_raw = function
| Raw.String s as v -> (
if s = "" || s = "None" then None
else if String.length s >= 5 && String.sub s 0 5 = "Some "
then Some (wrappers.of_raw (Raw.String (String.sub s 5 (String.length s -5))))
else Some (wrappers.of_raw v))
| r -> Some (wrappers.of_raw r)}