Expose active record objects as a JSON API