Added support for discard_nil_segments :key1, :key2
Cleaned up indentation and matched on true, false
Merge branch 'discard_specific_keys'