..F....... [ZBX-8370] fixed misc. bugs in barreports (input validation, default captions, caption escaping)