Address a bug where as_json triggered thumb, url(:thumb) on Document

When trying to get Documents as json through the `fileGetJson` option, an ArgumentError was raised because Documents don't have thumbs

In the future, this method could return URLs to icons matching the extension of the file

For now, the bug must be fixed ; )