Support for functions in JSON

What you think about adding support for functions inside JSON data?
try/catch addition
Merge pull request #5 from imapi/master

Support for functions in JSON