Revert commit f0dcad3e0bc1d1f35e5dd6f435f9b776782b4807

value_uid is stored as a string and needs to be converted back to a
boolean when read from the database