Delete a key value pair inside an object