Fix memory unaligned reads

Bug fix for unaligned memory reads. This corrects the issue with service port names being jumbled for certain demos.
What exactly is done here and why does it need to be done? It's not particularly clear what happens here.