Fixing compile errors for URLEncoder.encode(String, String). Currently
passing in as URLEncoder.encode(Object, String).