bugfix: serialization should be binary only