Eden Node JS Generic Model Definition