I guess if it's double-encoded JSON, we could just parse it twice to get to the hash representation, then match that.