JSON Handling Standardization for the main JS file