converted empty objects to empty arrays