add assertions
introduce Value::isPrimitive and Value::isObject
refactor String::valueOf
make StringBuilder::append fast