code: def to_json(self):
          
          return {
              'resourceType': self.resource.resource_type_id,
              'resourceId': self.id,
              'accountId': self.resource.account_id,
              'account': self.account,
              'location': self.resource.location,
              'properties': {to_camelcase(prop.name): prop.value for prop in self.resource.properties},
              'tags': [{'key': t.key, 'value': t.value} for t in self.resource.tags]
          }
docs: Return a `dict` representation of the resource, including all properties and tags
  
          Returns:
              `dict`