Fixed missing `.toJSON()` in README example