Refactors the json parse method
Refactors format
Refactors test headers for each request