Fixed serialization error on group captured values in None