When the client is reporting local_variables we need to make sure that a dict is being returned. We have had instances where a string is being returned instead.
https://github.com/honeybadger-io/honeybadger-python/blob/master/honeybadger/payload.py#L117-L119