avoid multiple json loads calls