Description
fmt will try to use format_as for formatting; and nlohmann will use a method named to_json in order to convert to json. By creating these methods we don't need to write more logic (like to_string() when using fmt and to insert the item into a json object)