worked on supporting different syntax for sequelize associations