Avoid json encoding in internal calls