i have change both "openProject function in class ProjectManager" and "openDiagram function in class DiagramManager".
add an example of the format the you should use to send an action to the server using json format