Added support for saving json of track info to db