fix: empty array for traits and properties

closes #38 

cc @calvinfo