transform recursively for criteria queries
transform search criteria on update query
add transform fns to query.updateAll
add transform fns to destroy and count