Returns the mapping from Rosetta residue IDs to PDB ATOM residue IDs in JSON format.

def get_rosetta_sequence_to_atom_json_map(self):
        '''Returns the mapping from Rosetta residue IDs to PDB ATOM residue IDs in JSON format.'''
        import json
        if not self.rosetta_to_atom_sequence_maps and self.rosetta_sequences:
            raise Exception('The PDB to Rosetta mapping has not been determined. Please call construct_pdb_to_rosetta_residue_map first.')

        d = {}
        for c, sm in self.rosetta_to_atom_sequence_maps.iteritems():
            for k, v in sm.map.iteritems():
                d[k] = v
            #d[c] = sm.map
        return json.dumps(d, indent = 4, sort_keys = True)