Fixed JSON array problem