Parse levels from json