gravity: Remove escaping code from query builders.