Transformation 'device orientation' info to JSON string and send