Changing masking approach to only mask specific things based on configuration
diff --git a/analytics/index.js b/analytics/index.js
index ea95294..05d2133 100644
--- a/analytics/index.js
+++ b/analytics/index.js
@@ -10,15 +10,12 @@
       record.apiproxy_revision = res.proxy.revision;
     }
 
-    if(config.mask) {
-      var maskString = config.mask.mask_string;
-      var fieldsToMask = config.mask.fields_to_mask;
-      fieldsToMask.forEach((f)=> {
-        //Only attempt to mask if the property exists.
-        if(record[f]) {
-          record[f] = maskString;
-        }
-      });
+    if(config.mask_request_url) {
+      record.request_url = config.mask_request_url;  
+    }
+
+    if(config.mask_request_path) {
+      record.request_path = config.mask_request_path;
     }
     
     cb(null, record);