JsonFusioner: Write json using bufferedWriter + rename xml variables

Change-Id: I692f6649e5f60aaca10a326f9c151be8148f2cff