A new room should be created as an object instead of an array since the id/true is set as a key value pair. Not an array element.