Updated cmd classes to support old cube JsonReader/JsonWriter format