pattern: fix JSON syntax.
pattern: able to load pattern in the debug panel. #36