access headers for json repsonses