Fixed json parsing and AC builder