Allow decoding into structs using only the keys structs export

Closes #3.