Update class-wp-json-media.php

$thumbnail is a WP_JSON_Posts
ID is an dimension to data