GET /projects outputs in JSON format

This PR enables the GET /projects route to also be able to reply in JSON format besides the actual HTML rendering.

When using Strider as a web service, this is essential for getting the data necessary for displaying the projects page in the browser.