switched to using _.map instead of manually creating object