Tranform json diffs into ShareJS operations