additions to make web client compatible to new JSON generator component

currently a new JSON generator is under development for the backend (slated for release on Monday). It brings two important functional differences to the output:

- fields that are empty are omitted
- `"alternative_found": True/False` now indicates if an alternative route has been found.

The patch is backward compatible, i.e. it will work with the current JSON generator and also the new one.