Update braid to use json as the record format for the merge
Sort the hash before emitting it