fixed a bug in Trace.parseJSON
added model and origin attributes in Trace