added getJonInfo() function to API