Encode wkt when performing a profile.json request