Gets product list from Rails using JSON