HTML menu generator based on a JSON object