add object type

This adds support for nested objects.