Added the pear json library and adapted the readme