Add support for sending an object or model as post data in custom actions. It will automatically be converted to JSON