Converts .sql files into .json files