flatten hash and create dot separated keys for nested pairs"