Eden Node JS Generic Document Definition