I think you could do like this:
json.addressRegion address.town.county.name if address.town.county.try(:name)