BUGFIX: UserRemoteConfig stored as ruby object on job config.xml

The objects created with ruby were stored as ruby objects on the
config.xml file, and if jenkins is restarted without explictly saving
the configuration from UI, the configuration content was lost.
See javiplx/jenkins-gitlab-hook-plugin#20 for more details