Adapted output.json