Java Create Empty Json Array Length Jquery Download