Refactored JSON parsing code, implimented STM for tracking device name(s) and info