changed JSON array structure thingy