changed json creation, fallback to the std module "json"
changed mikolov option to string instead of bool