Add support for Dictionary and Array argument when calling javascript function from C.