Fix bug in chart json for docs without a user