Unpacking JSON of response using charset from the header