Build_path_prefix_mapval encode_prefix : path_prefix -> stringval decode_prefix : string -> (path_prefix, error_message) resultval encode_pair : pair -> stringval decode_pair : string -> (pair, error_message) resulttype map = pair option listval encode_map : map -> stringval decode_map : string -> (map, error_message) result