In the following docs
https://docs.forestadmin.com/woodshop/how-tos/hubspot/create-a-smart-collection-of-hubspot-companies
In the collection:
const
collection Liana = require('forest-express-sequelize');
Liana.collection('hubspot_companies', {
And in the routes you need to require:
const JSONAPISerializer = require('jsonapi-serializer').Serializer;