fixes #19

Applies the filters first so that a filter can be applied to an incoming object, rather than being converted to an array first.

Required for Lighthouse/AWS