Value parsing improved

Fixed empty array issue

Ajusted Foreman types

Removed unnecessary facter case