Remove toJSON() on Buffer as no such method in v0.8