removing irrelevant comment
adding before_request handler to produce better error messages when decoding json for #52