Set incident types as an explicit field in the API response

Instead of computing it clientside.
Revamped filtering, it works!