Changed logic in from_lists to allow for empty lists as input
Added none value checks for malware subjects and grouping relationships in from_obj