timob-7850: v8 converts int value properly.
timob-7850: fix mime type