json-simple integration

Fix for #140