Minor refactor (includes replacing decoder usage with json.Unmarshal())