Trim selects in serializeArrayKV to yield null

for the default value