upgrade to json details api