needed to parse data from json in ajax calls in diagnostics