Let models specify extra attributes to be JSON'd