Add data.mineType option for JSON - #236