Relax gsonBuilder visibility allowing for custom config

@adolfoweloy

Relax GsonBuilder reference visibility allowing for custom configurations to be done by extensions.
Issue #855