fix localStorage bug by not trying (and failing) to make it a multidimensional array; use JSON to store array of filters in localStorage