_.toArray is just _.values for objects
(cherry picked from commit abb0f7f19461cc942262784e5a14c9e6c548f1f4)