Organise Sequelize models into a tree structure