converting buffer to result in getBuses model