Add cached_field_value helper for getting a field value of an object with proper caching.