core: use pprint.pformat to pretty print activity message_list

using json in 37b795fb was wrong,
because not all arguments can be converted to json (for example
DateTime instances)

This also enable the format using pprint.pformat for args, instead
of a simple str that was done in ActivityTool_getMessageList.
8 jobs for for_testrunner_2
in 0 seconds, using 0 compute credits, and was queued for 0 seconds