add JSON support to the status response functions