Add decodeCN5Origin
Break out lang and kind