I am trying to generate a YAML file in this format using Java on an Android app:
testConfig: [ {test1: "example1", test2: "example2"},