Script to create mysql files giving the input in json format