Changed content type of store and retrieve methods to x-trig and updated tests.