Ruby script to convert SublimeText completions into snippets