added functionality to parse function to accept defaults parameter
parameter can now accept just the key and assign it TRUE