Method values are now serializable

Computed values are serializable into JSON.  This was needed
for some backwards compatibility.
The testrun summary now complete

Several computed values were missing from the testrun summary.
They required a change to the serialization to allow method
values (computed values) to be serialized.
add_result now updates the testrun as it should