adding compress as a serialization option