put brackets on json object