Made name valid (jquery json)