detect: Fixing hpa/slots/counts type

It shall be a string, not an integer