cleaned up search api end-point response