correctly generated waterline orm relationships