Added script to read scores from database and dump them in json format instead of directly plotting them.