add json_encode filter