toJSON now accepts filter param, only for single nest that is named