detect: Don't report integer but strings

This was part of issue #91 as reporting integers is not supported.
So let's convert int into str.