Fix 404 triggering
Update README with note on 404 triggering
Fix #4
Add better handling of objects in the json method, and add ability to set json_encode options
v1.0.1