Changed toString() - return informations about inventory

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Fixed stack overflow

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Added Canonical Schema Pattern

Signed-off-by: selmeci <selmeci.roman@gmail.com>