added anchors to titles, changed output in bash files to json