Avoid possible syntax error

For example if user["access"] is a string.