added dumb logging for json and png badges