The Json encoding is cool, but the OpenMath standard requires the XML encoding, and now almost all the other implementations of OpenMath support only the XML encoding; without it, it is not possible for the other implementations to interoperate with openmath-js.
Please implement also the deserialization from the standard XML encoding