MIST-227 Add JSON/SQL data struct for hypervisor. Fix it for iprange