Refactor convertStringToBytes method