Bundle JSON.stringify implementation

API quark does not carry it anymore and this avoids extra install hassle