Aligning barcode config format with barcode generator.

Broke up tests
Use single quotes inside the string, so you don't have to escape them, e.g. `"{'key': 'value'}"`