added writing of metadata to grunt config.