gaussy.jl: refactor some comprehensions to use keys(<dict>) and vals(<dict>)