Since the implementation of the TextMarshaller interface we could not unmarshal previously json marshalled Level value. Fixes #873