Super simple wrapper for PHP's `json_*` functions that throws appropriate exceptions on JSON errors