add JsonEscape, removed libs/test, added test