Added sub items to JSON output.