improved info() to hash, there can be empty lines