little test script to generate x items into an array of json