Having recently implemented it, a few real test vectors demonstrating id calculation and sig verification would be nice.
In particular some json encoders and decoders can modify strings silently by default (escape backlashes and emoji). I found out by trial and error.