expose json and xml endpoints
bug fix for post sluggification
fix json endpoint bug