Change App::missing handler to send JSON and 404 code