Get value and detail value for data structures