$this.block(0x500,0x4F)$this.block(0x200,0x58)$this.block(0x1100,0x38){
  "payload": {
    "device": "$gateway-device(format="plain")-$cloud-id(format="plain")",
    "device_firmware_version": $gateway-version(),
    "meter_serial": $this.uint(0x51D),
    "meter_firmware_version": "$this.fixedshort(0x520, 2)",
    "meter_model": $this.rdi(code=2, object=4, output="value"),
    "meter_id_string": $this.slave-id(output = "text"),
    "time": $clock(style="ISO8601"),
    "live_data": $live(),
    "mb_address": $this,
    "data": {
      "active_power_total_kW": $this.float(0x200),
      "reactive_power_total_kVAR": $this.float(0x202),
      "apparent_power_total_kVA": $this.float(0x204),
      "voltage_LN_average_V": $this.float(0x206),
      "voltage_LL_average_V": $this.float(0x208),
      "current_average_A": $this.float(0x20A),
      "power_factor_total_none": $this.float(0x20C),
      "frequency_Hz": $this.float(0x20E),
      "voltage_a_instantaneous_V": $this.float(0x220),
      "voltage_b_instantaneous_V": $this.float(0x222),
      "voltage_c_instantaneous_V": $this.float(0x224),
      "voltage_ab_instantaneous_V": $this.float(0x226),
      "voltage_bc_instantaneous_V": $this.float(0x228),
      "voltage_ac_instantaneous_V": $this.float(0x22A),
      "current_a_instantaneous_A": $this.float(0x22C),
      "current_b_instantaneous_A": $this.float(0x22E),
      "current_c_instantaneous_A": $this.float(0x230),
      "active_power_a_instantaneous_kW": $this.float(0x232),
      "active_power_b_instantaneous_kW": $this.float(0x234),
      "active_power_c_instantaneous_kW": $this.float(0x236),
      "reactive_power_a_instantaneous_kVAR": $this.float(0x238),
      "reactive_power_b_instantaneous_kVAR": $this.float(0x23A),
      "reactive_power_c_instantaneous_kVAR": $this.float(0x23C),
      "apparent_power_a_instantaneous_kVA": $this.float(0x23E),
      "apparent_power_b_instantaneous_kVA": $this.float(0x240),
      "apparent_power_c_instantaneous_kVA": $this.float(0x242),
      "power_factor_a_instantaneous_none": $this.float(0x244),
      "power_factor_b_instantaneous_none": $this.float(0x246),
      "power_factor_c_instantaneous_none": $this.float(0x248),
      "sliding_window_power_average_kW": $this.float(0x256),
      "net_real_energy_total_kWh": $this.float(0x1100),
      "net_real_energy_a_kWh": $this.float(0x1120),
      "net_real_energy_b_kWh": $this.float(0x1122),
      "net_real_energy_c_kWh": $this.float(0x1124),
      "import_real_energy_a_kWh": $this.float(0x112C),
      "import_real_energy_b_kWh": $this.float(0x112E),
      "import_real_energy_c_kWh": $this.float(0x1130),
      "export_real_energy_a_kWh": $this.float(0x1132),
      "export_real_energy_b_kWh": $this.float(0x1134),
      "export_real_energy_c_kWh": $this.float(0x1136)
    }
  }
}