1 spec passes.
Doesn't crash but JSON wrong
[fix #46203421] Fix Barcode, BarcodeResource and CreateBarcode

Specs are passing. The barcode generation has
been mocked in the specs to test it.