print status in JSON