vzlist: allow to print cpuunits in json format

The code have an assumption that every field with .index > 0
is a subordinate field. cpuunits is in fact not, so make it
so, i.e. a separate field.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2 files changed