lib: Clarify JSON string equality
lib: Clarify JSON string equality

Since nothing is mentioned in the JSON specification (ECMA-404), we must
do string comparisons byte-wise, without any Unicode normalisation or
decomposition.

Factor out the code to do this so it can be documented.

pwithnall/walbottle