Update pb-to-cpp.uc

Fixed arrays
Added default values for optional args