Responds with status as JSON instead of console.logging it