use #f for missing optional values

This might break booleans, but will help significantly in the libvirt
module. Note to self in a few years: mimic json module.

Signed-off-by: Jan Dvořák <mordae@anilinux.org>