Added dimension type to KMEans json format, polish