allow empty json array by default when using renderJSON