Standardized error JSON, added JSON encoders for tokens, and started to properly reconstruct roll data to display in JS