Fix marshaling in the method_missing method