prepare the render json in the controllers
prepare the home to return json