Integrated promoteLongs settings into the deserialization process