use lodash toArray