Returning JSON for non-linux distributions
Added os name to return json