added complete support for rawData using the Metrics API