fixed bug in json serializer, once typenamehandling had been set to none to deserialize interface types, it wasn't reinstated