Transform JSON style 'deviceorientation' to original message