Send impact_json to theme controller and not the template.

This all must have been moved around some time back. Fixes #1147