Вот образец описания одной переменной в json
Код:
{
  "categories": [
    {
      "tag": "07d6d36a-870b-4514-af32-c561838cb192",
      "name": {
        "ru-RU": "Сетевые переменные",
        "en-US": "Network variables"
      },
      "child_categories": []
    }
  ],
  "parameters": [
    {
      "code": "P16384",
      "read_function": "3",
      "write_function": "16",
      "address": "4000",
      "device_format": "float",
      "register_least_byte_first": false,
      "least_register_first": true,
      "measure": "none",
      "precision": 0,
      "multiplier": "1.0000000",
      "bitmask_enabled": false,
      "bitmask_value": null,
      "name": {
        "ru-RU": "ns_Pump1_Pressure_[bar]",
        "en-US": "ns_Pump1_Pressure_[bar]"
      },
      "in_operative": true,
      "in_configuration": false,
      "in_manageable": false,
      "in_parameters": true,
      "in_tables": false,
      "in_graphs": false,
      "in_events": false,
      "category": "07d6d36a-870b-4514-af32-c561838cb192"
    },
Программа должна получить аналогичные описания переменных кроме поля uuid - его можно оставить пустым.