Add missing assertion to test the email contains the location category name.
No need to assign misc, just use ||
Add the size ratio to the groups geojson objects.

It's currently unused by the frontend, but it's more helpful to have
it than to rip out the bbox code entirely.
Remove unnecessary assignments.
Use sprintf/format instead of % interpolation
Remove semicolon.
Fix indentation.
Fix indentation.