Custom KeyValueValue pair implementation