fix JsonPatch.__eq__(other) for Python 3