adds urlencoding around field names