fixed a bug when no JsonTypeInfo is supplied + added test
added support for JsonTypeInfo.Id.Name, JsonTypeInfo.As.WRAPPER_ARRAY and JsonTypeInfo.As.WRAPPER_OBJECT