Fix value::operator ==(const value& other) const to deal with kind values properly.
Fix value::operator ==(const value& other) const to deal with kind values properly.

tgockel/json-voorhees,venediktov/json-voorhees,respu/json-voorhees,tgockel/json-voorhees,venediktov/json-voorhees,respu/json-voorhees