implemented raw json output