Untested draft of ItemTemplate YAML decoding.