Added ValueSerializer that accepts a Type parameter in addition to the generic <T> method