multiprocessing operations, truncate_json, and docstrings