Eden Node JS Generic Collection Definition