module Hashie::Extensions::Dash::PropertyTranslation::InstanceMethods

def initialize_attributes(attributes)

Deletes any keys that have a translation
def initialize_attributes(attributes)
  return unless attributes
  attributes_copy = attributes.dup.delete_if do |k, v|
    if self.class.translations_hash.include?(k)
      self[k] = v
      true
    end
  end
  super attributes_copy
end