Convert db_hacks to json

Read the json file in the db_hacks.php and genreate a id for each entry