M088 - type translation of QC uploads

type translation before insertion into object_store (was strings, now specific types)

@lukecampbell check this is what you expect (see test asserts)
@MauriceManning