Helper function to retrieve field values from an EDM proxy object.