Refactored JSON loading and getting contrary selectors.