Generating json data from CA.
Generating pages object.
Renamed prepare_data to prepare_page_data.