Fix JSON decoding; force array usage.