code: def massage_type_name(cls, type_name):
          
          if type_name.lower() in ("enum", "enumeration"):
              return "enum"
  
          if type_name.lower() in ("str", "string"):
              return "string"
  
          if type_name.lower() in ("boolean", "bool"):
              return "boolean"
  
          if type_name.lower() in ("int", "integer"):
              return "integer"
  
          if type_name.lower() in ("date", "datetime", "time"):
              return "time"
  
          if type_name.lower() in ("double", "float", "long"):
              return "float"
  
          if type_name.lower() in ("list", "array"):
              return "list"
  
          if type_name.lower() in ("object", "dict"):
              return "object"
  
          if "array" in type_name.lower():
              return "list"
  
          return "string"
docs: Returns a readable type according to a java type