util: add value_wraps

for build_dict and build_list