Unify code formatting style
Canonicalize room ID for query (issue #1)