Values that do not map to an existing attribute should be ignored instead of set in an instance variable.  Explicitly define a to_json so that only the attributes are returned.