tenant can have custom data, too
getCustomData vs resource.customData

getCustomData is used when you did not expand the
custom data on the parent resource

if you did expand custom data on the parent resource,
then you can use it directly from resource.customData

these tests, docs and Tenant resource change are
in reflection of that