Abstracted functionality to build value pairs from an array of field definitions