Create static JSON/PHP from pages/posts from Wordpress