added index id to json for forms and responses