Dictionary Encoder - allows String keys only.