using pageData and data to render the views and to pass it into the client runtime as json structures