fixes for ruby 2.0
do not attach metadata to frozen objects for now. will eventually need to change gets to return a hash