Allow presence of 'properties' to imply type 'object'

Closes #192.