parse name.txt into json