[Bug 844933] Wrap access to troubleshooting data.

This prevents "has no attribute X" errors, which cause 500s.
[Bug 844933] Only accept troubleshooting dicts.

There is apparently some questions in SUMO that have this data as a list
that contained the string 'modifedPreferenes', which caused errors.
Being specific about the type will prevent this kind of error.