expose post#index and post#show in xml and json format