"details" doesn't actually mean anything to me.  I don't get any intuition about what this function is doing from the name.

Perhaps "convertKeyEqValToObject" or something would be more meaningful?