moved up all constants to DataSerializerHook