fix decoding nested empty json array error