only need to initialize globalObj once
passed locals should override any _locals on response