Fix bug in ContentSearchModel serialization

It appears backbone is now automatically decoding the fragment
before it is returned, so we need to add an extra layer of encoding.