Add accessibility to json output
default to 'unknown' if error
remove `code` and `site_id`

They are unused