can we make this condition simpler and safer by changing:

else if(typeof data === 'object') {
  _get(data, fieldList)
}