Made some changes to the Package spec format and added a interface for it to JS as sys.Package.fromJsonSpec(srcJson, dest)