add helpers class and select_and_strip_keys function