Bugfix: getting error when updating a post with featured_image - PHP Fat...

...al error:  Cannot use object of type WP_JSON_Response as array in /var/www/wp-content/plugins/json-rest-api/lib/class-wp-json-media.php