AEROGEAR-517 Adding a catch all error route that returns JSON.