check_keys added against . and $ in field names