How to return a custom object in an AJAX call when the server is MVC ASP.NET
This is not straightforward if you are new to MVC. For this, you need to reference Json.NET from the package manager. http://stackoverflow.com/questions/10869724/return-multiple-objects-using-json-net