Support image_metadata flag in upload and API
Support for usage API call