Making helpers/object_get() capable of handling Eloquent collections