Bugfix: rec flag cannot be bool for xml.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>