fix #535 serialization of the term filter values hardwired to write value instead of serialize