ServiceProvider's "json" and "file" methods cleaned up
Also, now checking if a response has already been sent before resending