expose json and xml on index show posts