Encode package:rattletrap

Efficiently serialize a JSON value as a lazy ByteString. This is implemented in terms of the ToJSON class's toEncoding method.
Encodes a raw replay.
Encodes a replay as JSON.