Fix array/json return values in vapi