added a more high level scrub_data function to use in crashstats.