Fixes #23 No Fatal Error on Bad Detail JSON

In the meantime before you get around to implementing the whole form/SQL, here's a simple fix that should make it nonfatal if the json fails to parse.