Function crackEncodingFromJSON