     defaultSerializer: '-rest'
 
     find: (store, type, id) -> new Promise (resolve, reject) ->
-        key = getKey type, id
+        key = getKey id
         json = localStorage.getItem key
 
         try
             result = { }
-            hash = JSON.parse json
+            hash = JSON.parse b64_to_utf8 json
             hash.id = id
             result[type.typeKey] = hash
             resolve result

`import Save from '../models/save'`

guid = (->
    s4 = ->

        s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4()
)()

getKey = (id) ->
    if typeof id is 'object'
        id = id.get 'id'

    "#{id}"

Promise = Ember.RSVP.Promise

