Fixed critical error in import template causing the same key_map
attribute to be shared by all subclasses