Do not include properties if properties in not
Merge pull request #1 from joar/patch-1

Do not include properties if properties is not set

Fixes special object types such as completion suggester