Merge pull request #13 from joriscode/master

Curry functions and nested objects fixed