Set correct for JsonSerializable if PHP_JSOND_PRIMARY defined