server: implement the DOM's json parser from the V. Hanguez libjson sources