Updated structure for terms index model
Changed data format for terms index model and update view accordingly
Fixed routes to accept new terms index mapping
fixed mapping for index.yaml under top level terms