Fix edge case with converting camelCase keys to underscore