name_value/serialize: more convenience functions added