 		
 		return JSON.parse("{#{line}}")
 		
-	to_value = (value) ->
-		return switch value
-			when 'none' then null
-			when 'on' then true
-			when 'off' then false
-			else value
-			
-	to_object = (previous, current) ->
-		previous[key] = to_value(val) for key, val of current if current
-		
-		return previous
-		
 	return input.split('\n').map(to_item).reduce(to_object)
 	
require 'coffee-script'

# ---

###

		line = line + '"' if line
		
		return JSON.parse("{#{line}}")
		
	input.split('\n').map(to_item).reduce(to_object)
	
