Value interpretation improved

 - Fixed empty array issue

 - Ajusted Foreman types

 - Removed unnecessary facter case
Merge pull request #304 from gildub/Bug/API+Tool

Value interpretation improved