Remove export of empty nodes from json output.