PCC-11259 Fix toJSON output for empty property tree

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>