fix key selection for camelize and snake case