Fix design doc parts lookup and make proper type to object conversion