Accept empty objects (fixes #11)