Developers have figured out the secret sauce for gentrifying neighborhoods