Escape arrays sent as binding values for database queries.