Fix lint warnings

- Use pointer instead of reference for non-const reference (serialize), add const for actually const reference (deserialize)
- Remove method stub for filter