Javascript: parse object to array (underscore)