Add some `toString` conversions (required by MongoDB)
Allow nested definitions
0.8.7