adding json formatter

Change-Id: Idb07cb86cad0961560f9e330393f4666b2e16c72