Monitor: Added REST-like api for getting monitor statistics.