'Retrieve the value like _get_value(), processed for _to_dict().
Property subclasses can override this if they want the dictionary
returned by entity._to_dict() to contain a different value.  The
main use case is StructuredProperty and LocalStructuredProperty.
NOTES:
- If you override _get_for_dict() to return a different type, you
must override _validate() to accept values of that type and
convert them back to the original type.
- If you override _get_for_dict(), you must handle repeated values
and None correctly.  (See _StructuredGetForDictMixin for an
example.)  However, _validate() does not need to handle these.'

def _get_for_dict(self, entity):

    return self._get_value(entity)
