added basic json output