[PATCH] added new problem data API for hooks