Captured raw JSON for for Media/Better errors

Added property that captures raw JSON for Media items

Added better error handling and rate limit information for requests