Json writting implemented
OrientedPlateness + JSON support