Add decodeDict, all tests pass