support as_json include option

This allows models with belongs_to associations to be included when
building JSON APIs