added json output to automation requests