Modified the Entity->to() function so that the filters are applied to the Entity first, then the Vos are filtered and finally an array of data is returned.
Altered the inbuilt RemoveMongoId and RemovePassword filters so that they now accept an Entity passed to the __invoke function.
Added a test to test the filtering of these to standard filters.