Ubus blobmsg: u8 json problem

Hi,
I'm facing some weird behaviour with blobmsg and u8 values.
u8 is used for bool values AND for actual u8 values (0 ... 255)
The problem is that the parser interprets them as "true".
So if you convert this string back to blobmsg it gets weird...

Is there some workaround?