Issues #23 : modified REST API (response in JSON)
Issues #28 : Change metrics response for dates