Revert "Remove temporary directory"

This reverts commit cb291dce86317c6d5dfc48e94817795b56e8c1a3.
Revert "Revert "Remove temporary directory""

This reverts commit c5b9523ecab7eaf33608f05a5befb0b9ac304e85.
Revert "Revert "Revert "Remove temporary directory"""

This reverts commit ea28f4fea04d7419a5897e733bb174c025029876.
First full page view and partly json if requested

Try index.php?request=json