Serialize frames to JSON instead.
Fixup some terrible defaulting.
Don't add keys unless relevant.
Explicitly cast set to list for JSON.
Move padding JSON logic to mixin.
Move priority JSON logic to mixin.
No bytestrings in JSON.
Rewrite current tests for new approach.