Dictionary Validation

This is also probably not complete. More questions incoming...
This exit 1 isn't doing anything because of the pipe, probably needs to be re-organized a bit to ensure it fails when it breaks.