implemented `sys.nodes.thread_pools` expressions
fix changes and use json representation in docs