Refactor ToByteArray utility function.
Add functionality to accept version string placeholder during rom update phase of hew build. Creates unique ecuid (SHA256) and calid using version and other info.