Added JAXB conversion code for ScriptResource result and also a unit test.