public static func jsonObject<T: Decodable>(data: Data,
                                                decoder: JSONDecoder = JSONDecoder()) throws -> T {
        return try T.decode(fromJSONData: data, withDecoder: decoder)
    }