Fix alignment of the hash in one line

This fixes incorrect behavior in the case, when hash is written in one line with different length of keys.