Latest posts JSON API

This is work in progress.