trying to figure out where i should do api results formatting