Typo: 'cty' instead of 'typ' when parsing json header.
Merge pull request #1 from boivie/cty-typ-typo

Typo: 'cty' instead of 'typ' when parsing json header.