Upload files via JSON either by streams or File's.