pass the class name to `tableize`

We should not rely on to_s to return the name of the class