Fix json-array rendering when no data is found