Started to work in a class to determine complextypes in json