Refined the usage of JSON files, and interactions.