`simple_types_filter` is only supposed to work for `dict`