added a possibility to print the array of middle points for each contact, attribute is adjustable over json