examples/power: fix json null termination