[HttpFoundation] Silent only JSON errors
Catch exceptions to restore the error handler
Fix JsonSerializable namespace
Clear json_last_error