Use array instead of object in JSON queue