code: function jsonDump (data) {
    if (data == null) return 'null' // python gives a fuck about 'undefined'
    switch (typeof data) {
      case 'number':
      case 'boolean':
        return JSON.stringify(data) // hand off primitives to JSON.stringify
      case 'string':
        return unicodeEscape(JSON.stringify(data)) // strings are special because unicode
      case 'object':
        if (Array.isArray(data)) {
          return '[' + data.map(jsonDump).join(', ') + ']'
        }
        return '{' + Object.keys(data).map(key =>
          '"' + key + '": ' + jsonDump(data[key])).join(', ') + '}'
      default:
        throw new Error('Cannot handle unknown type ' + typeof data + '! Report as ZeroNetJS Bug!')
    }
  }
docs: JSON Dumper
  @param {Object} data
  @return {string}
  @private