Fix test client converting empty lists/dicts to empty string

Because, you know.