parse the memory return and crate a hash with it