adds rest API for jokes