corrected issue with JSON-Marshal/Unmarshal