remove _.isPlainObject in favour of custom implementation