convert incoming keys to underscore