Fixed categories syntax
Added a posts.json api