fromPrettyJson

Parses the pretty fields of obj (inputTokens/outputTokens/totalTokens) back into token counts.