fixed json response structure + pagination