feat: support array output in remote_function
#1057
+227
−67
Draft
remote_function
#1057