Deserialization works for binary files, but not json. We could fix this in Bulletproofs, or we could change to something like Rust Object Notation.