json.dumps() to clean strings for database