Added support for "aggregation" metadata field.

Change-Id: Idb7932110c165a83a1776286199dc1a5f23b46b4