Sanitize keys which contain "." or start with "$".
Add replace_dot_in_key_with and replace_dollar_in_key_with to config
params.