Marshal clojure data structures to legacy binary protocols