code: function findRequiredFieldsProps(requiredFields){
  	return requiredFields.map((item) => {
  		return { 
  			props: findValueOfChildren(item.value, item.fieldToBeValidated), 
  			...item 
  		};
  	});
  }
docs: * simple map. calls recursive function as return statement