Fix map serialization bug in rP23847 and rP23881.
Reviewed by: @Angen
Differential Revision: https://code.wildfiregames.com/D2974