Function to convert response data to an specific structure.
typedef ResponseDataAdaptor = Map<String, dynamic> Function( dynamic data, );