Convert the test to modern objc
Add predicate to filter the properties when serializing to JSON string/data.