@@ -949,8 +949,9 @@ instance Seminearring Filter where
949949
950950instance ToJSON Filter where
951951 toJSON (AndFilter filters cache) =
952− object ["and" .= fmap toJSON filters
953− , "_cache" .= cache]
952+ object ["and" .=
953+ object [ "filters" .= fmap toJSON filters
954+ , "_cache" .= cache]]
954955
955956 toJSON (OrFilter filters cache) =
956957 object ["or" .= fmap toJSON filters