+ safer trimming of JSON result strings (don't trim error messages or similar)
Authored by: mukau 2020-04-01
Parent: [r1461]
Child: [r1463]