Why does that value not been read? Its sets value name not the value value...
Try [room]: { to let JS know it is a var not a property name.
[room]: {