Deterministic JSON bytes shared by portable projections and host digest contracts.
@spec encode(term()) :: binary()