fix #53. Writing null values via HTTP shouldn't fail