Fix empty array was displayed as object