[feature] convert models to array with handler