make string copy in pp_var_to_np_variant