adding pagination info into json paginated_show response