https://nodejs.org/docs/latest/api/child_process.html#advanced-serialization This allows pass more js types to process worker.