Refactors the json parse method
Refactors the format: :json sent on every request
Refactors test headers for each request