'Parses the message out of the queue message
Args:
queue_msg (str) - a JSON encoded string
Returns:
returns the value for the the key \'msg\' in queue_msg'

def _parse_data(self, queue_msg):

    try:
        result = json.loads(queue_msg)
    except (TypeError, ValueError):
        log.error('External    message    should    be    a    JSON    serialized    dict.    Received    queue_msg    =    %s', queue_msg)
        raise
    msg = result['msg']
    return msg
