<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_types(json_type: StrOrList) -> typing.Tuple[str, str]: """Returns the json and native python type based on the json_type input. If json_type is a list of types it will return the first non 'null' value. :param json_type: A json type or a list of json types. :returns: A tuple containing the json type and native python type. """

    # If the type is a list, use the first non 'null' value as the type.
    if isinstance(json_type, list):
        for j_type in json_type:
            if j_type != 'null':
                json_type = j_type
                break
    return (json_type, JSON_TYPES_TO_NATIVE[json_type])