fix for json errors due to addslashes user.config