added json output format
added markdown format