memory leak fixed

This memory leak happened, when the direct encoding is used for the
strings. Allocating memory for each string in the data context caused
this problem. In order to fix it, reading the dictionary moved to
field reader initialization.