Add temporary script to dump traits into JSON. Proper solution will need major phobos rewrite.