added properties '_id' and 'type' to metrics object
added properties 'id' and 'type' to metrics object