Processes dictionary arguments for Congress API so that multilevel dicts flattened using the dot syntax for keys (allowing for history.active=true, for example). Also converts Booleans to JSON-compatible strings.