Optimized gst message parsing.