Implemented parseSettings to convert JSON to POJO