Refactors the json parse method
Refactors format param from specs
Refactors test headers for each request
Updates the accept header to concatenate multiple values