fix(jsonview): add json prototype function