fix for adding lang to demographic serializing