Sanitize and escape data