adding json formatter

Change-Id: Ic0c560eb012bd7cd13707f137c3240df01c8ec8f