Update managed_script to use convert_mapping_to_xml()
Update managed_script to use convert_mapping_to_xml()

Change-Id: I72fd229e157f291a80ae15555ca2dd8822a8192b

puppetlabs/jenkins-job-builder,gforcada/jenkins-job-builder,phinexus/jenkins-job-builder,wikimedia/integration-jenkins-job-builder,wsoula/jenkins-job-builder,wikimedia/integration-jenkins-job-builder,wsoula/jenkins-job-builder,gforcada/jenkins-job-builder,wikimedia/integration-jenkins-job-builder,puppetlabs/jenkins-job-builder,OSSystems/jenkins-job-builder,phinexus/jenkins-job-builder,rsig/jenkins-job-builder,rsig/jenkins-job-builder,gforcada/jenkins-job-builder,wsoula/jenkins-job-builder,wsoula/jenkins-job-builder,gforcada/jenkins-job-builder,wikimedia/integration-jenkins-job-builder,rsig/jenkins-job-builder,OSSystems/jenkins-job-builder,phinexus/jenkins-job-builder,phinexus/jenkins-job-builder,puppetlabs/jenkins-job-builder,OSSystems/jenkins-job-builder,wikimedia/integration-jenkins-job-builder,OSSystems/jenkins-job-builder,phinexus/jenkins-job-builder,puppetlabs/jenkins-job-builder,gforcada/jenkins-job-builder,rsig/jenkins-job-builder