changed GsonProvider to use UTF-8 encoding when writing a response