Added JSON example for getCommands
Changed Command to take a Map instead of two Lists like it should have

Also added more comments