JSON Command Servlet (Handles Ajax Get/Post requests, returns JSON response)