Added json for topologies (still to be integrated into code) and fixed typo in utils library.