Ported json_tools to pydriver