fixing unit tests break caused by cyclical JSON.stringify error (only on Linux)