index.js
function toJavascript(data, mergeInto) {
	var result = mergeInto || {}
	var keys = Object.keys(data)

	for (var i = 0; i < keys.length; i++) {
		var p = keys[i]
			
		result[p] = toJsValue(data[p])
	}

	return result
}
function toJavascript(data, mergeInto) {
	var result = mergeInto || {}
	var keys = Object.keys(data)

	for (var i = 0; i < keys.length; i++) {
		var p = keys[i]
			
		result[p] = toJsValue(data[p])
	}

	return result
}
converts a ddb object into a js object