added armored spi, omitting tpm
corrected implementation to recursively replace variables that might be hiding in pairs.
broken