parse memory results and create a hash with it