add /companies/ids
refactoring json response with adding companies response