rewrite json_encode function