creating levels from json