sanitize data as it get stored

See: https://github.com/GigaOM/gigaom/issues/5720
Merge pull request #18 from zbtirrell/sanitize

sanitize data as it get stored