GOVSRCH 'export query' produces malformed JSON-representation queries that result in an error when used with the API. This happens when a complex rating filter is created. This makes it impossible to export the query to e.g. Python code, because the query will result in Error 400 "Invalid filter: unmatched closing parenthesis". See attached screenshot.