only call setSerializeNull if its not yet explicitly set

fixes #573