Return catalog data in JSON
Added end-to-end test for pagination