Major refactor of JSONify Posts
 - Split caching into separate functions
 - Re-wrote logic to fetch published posts only
 - Kept logic to update caching file on-the-fly
 - WIP: need to test Expires compatibility