now json output added
merge fixed
format json output