Make hamcrest objects option to filter