I've just published a new version of jsonstat-toolkit.
This version includes a new method (Unflatten()) that is probably better than toTable() (the traditional method to convert a JSON-stat dataset response into more popular JSON data structures). It is, I think, better because
1) Data extraction and metadata attachment is more efficient.
2) It is more flexible: the returning structure is customized by the user via a callback function.
I hope this helps,
Xavier