Read dictionary. Validate input a bit