Change modelist from object to array