added simple paginator and complex response format