replace wonky way of js figuring out if a thing is an array w/ the lodash function
add information on what were doing w/ swapping packages