createJSON now uses foreach 

To make createJSON run faster I've parallelized it using foreach. If no parallel backend is registered the function behaves as usual. Otherwise it creates term.vectors in parallel.