Adjust the location of stripping null values.

Now stripping null values before the extraction map array. This will
allow null values when the reduce map cannot decode uri.