Don't use base_uri when writing snippet if it's empty.
Fix property nesting.
Release 1.0.2