IDK if this matters, but there are some code style issues here (missing spaces after commas, spaces in { level : 4 } that may or may not need to be there, etc?