Json on post index and id's