Double-entry accounting system for nodejs + mongoose